//
//  YGSurveyBLL.h
//  yuanshangyiliao
//
//  Created by icholab on 2021/4/24.
//

#import <Foundation/Foundation.h>
#import "YGServerDetailModel.h"
#import "YGServerFoodModel.h"
#import "YGFoodServerTypeModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface YGSurveyBLL : NSObject

+(void)requestServerDetailWithData:(NSString *)dateStr
                            typeId:(NSString *)typeId
                               num:(NSInteger)num
                           Success:(void (^)(YGServerDetailModel *model))success
                              fail:(void (^)(NSError *error))fail;

+(void)requestServerWithData:(NSString *)dateStr
                            typeId:(NSString *)typeId
                           Success:(void (^)(YGServerFoodModel *model))success
                              fail:(void (^)(NSError *error))fail;

+(void)requestServerTypeWithSuccess:(void (^)(NSArray <YGFoodServerTypeModel *> *model))success
                               fail:(void (^)(NSError *error))fail;

+ (void)requestSave;
@end

NS_ASSUME_NONNULL_END
